<template>
    <div>
        <strong>DashBoard</strong>
        <router-view></router-view>
    </div>
</template>

<script>
    export default {
        // beforeRouteEnter (to, from, next) {
            
        // },
        // beforeRouteUpdate (to, from, next) {
        //     console.log('beforeRouteUpdate', to)
        //     if (to.path !== '/login') {
        //         if (window.localStorage['isLogin']) {
        //             next()
        //         } else {
        //             next(`/login?redirect=${to.path}`);
        //         }
        //     } else {
        //         next()
        //     }
        // }
    }
</script>

<style lang="scss" scoped>

</style>